pub mod system;
pub mod gen;
pub mod monitor;
use axum::Router;

pub fn build_api() -> Router {
    Router::new()
        .merge( system::build_auth_api())
        .nest("/system", system::build_system_api())
        .nest("/monitor",monitor::build_monitor_api())
}